package com.lelefly.base.po;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * LeleflyOrganization entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="lelefly_organization"
    ,catalog="lelefly"
)

public class LeleflyOrganization  implements java.io.Serializable {


    // Fields    

     private String organizationId;
     private String organizationName;
     private String organizationCreator;
     private String organizationOwner;
     private String registerDate;
     private int organizationState;
     private String organizationNum;


    // Constructors

    /** default constructor */
    public LeleflyOrganization() {
    }

    
    /** full constructor */
    public LeleflyOrganization(String organizationId, 
    		String organizationName, 
    		String organizationCreator, 
    		String organizationOwner,
    		String registerDate,
    		int organizationState,
    		String organizationNum) {
        this.organizationId = organizationId;
        this.organizationName = organizationName;
        this.organizationCreator = organizationCreator;
        this.organizationOwner = organizationOwner;
        this.registerDate = registerDate;
        this.organizationState = organizationState;
        this.organizationNum = organizationNum;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="organization_id", unique=true, nullable=false, length=50)

    public String getOrganizationId() {
        return this.organizationId;
    }
    
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }
    
    @Column(name="organization_name", nullable=false, length=65535)

    public String getOrganizationName() {
        return this.organizationName;
    }
    
    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }
    
    @Column(name="organization_creator", nullable=false, length=50)

    public String getOrganizationCreator() {
        return this.organizationCreator;
    }
    
    public void setOrganizationCreator(String organizationCreator) {
        this.organizationCreator = organizationCreator;
    }
    
    @Column(name="organization_owner", nullable=false, length=50)

    public String getOrganizationOwner() {
        return this.organizationOwner;
    }
    
    public void setOrganizationOwner(String organizationOwner) {
        this.organizationOwner = organizationOwner;
    }

    @Column(name="register_date",length=20,nullable=false)
	public String getRegisterDate() {
		return registerDate;
	}


	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}

	@Column(name="organization_state",length=1)
	public int getOrganizationState() {
		return organizationState;
	}


	public void setOrganizationState(int organizationState) {
		this.organizationState = organizationState;
	}
    
	@Column(name="organization_num",length=6)
    public String getOrganizationNum(){
    	return this.organizationNum;
    }
    
    public void setOrganizationNum(String organizationNum){
    	this.organizationNum = organizationNum;
    }
}